package cn.tedu.overhaul.management.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("rent")
public class OverhaulRent {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "检修人")
    private Long userId;

    @ApiModelProperty(value = "检修所用工具编号")
    private Long toolId;

    @ApiModelProperty(value = "借用时间")
    private LocalDateTime start;

    @ApiModelProperty(value = "归还时间")
    private LocalDateTime end;

    @ApiModelProperty(value = "修改检修记录的时间")
    private LocalDateTime modificationTime;

    @ApiModelProperty(value = "修改检修记录的次数")
    private Integer modificationFrequency;
}
